/*
* To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package DataStructuresThreads;

import Sorting.Main;
import javax.media.j3d.BranchGroup;
import javax.swing.JOptionPane;


/**
 *
 * @author rafael
 */
public class StackPushThread extends Thread {

    public StackPushThread(String name) {
        super(name);
    }

    @Override
    public void run() {
        execute();
    }

    private void execute() {
        try {


            JOptionPane.showInputDialog(Main.frame);
            //Main.textPane.setPreferredSize(new Dimension(500, 300));
//            Main.textPane.setText(Main.textoBubble);
//
//            BranchGroup bgroup = Main.addBranchGroup();
//            Main.su.addBranchGraph(bgroup);
//
//            Main.bubbleSortFinal(Main.vetorNumeros);


        } finally {
//            Main.isRunning = false;
//            Main.clearTexts();
        }
    }
}
